diff options
author | Kyle Gunger <kgunger12@gmail.com> | 2024-08-07 04:09:14 -0400 |
---|---|---|
committer | Kyle Gunger <kgunger12@gmail.com> | 2024-08-07 04:09:14 -0400 |
commit | 85daa32c72485272093804329851a56ca2ef9307 (patch) | |
tree | 1f3353fc61b1bf4a40e4e2144e8244a924ae1291 /tnslc/] | |
parent | 248fe38d3e2d932001a950b554c731f1698727f9 (diff) |
[tnslc] Fix indexing post-op, segfault when printing c formatted strings in tokens
Diffstat (limited to 'tnslc/]')
-rw-r--r-- | tnslc/] | 28 |
1 files changed, 28 insertions, 0 deletions
@@ -0,0 +1,28 @@ +# should not be included + +~uint lmao + +~{2}user c + +struct user { + ~int abcd, + ~Geko hij +} + +struct Geko { + int i +} + +/; module mod + int i = 0 + /; whatev (~uint8 a) [uint8] + # return a{0} + ;/ +;/ + +/; main [int] + # ~uint8 a = "asdf\0" + #whatev(a) + #whatev("asdf\0") + #return 0 +;/ |